package com.fc.advbox.dao;

import com.fc.advbox.entity.EquipmentDailyProfitEntity;
import com.fc.advbox.model.org.OrgMonthProfit;

import java.util.List;
import java.util.Map;

/**
 * Created by E7450 on 2018/7/2.
 */
public interface EquipmentDailyProfitDao extends BaseDao<EquipmentDailyProfitEntity> {

    /**
     * 计算国鑫智能自己的月收益
     * @param params
     * @return
     */
    List<OrgMonthProfit> calculateOwnerMonthProfit(Map<String, Object> params);

    /**
     * 计算代理商的月收益
     * @param params
     */
    List<OrgMonthProfit> calculateAgentMonthProfit(Map<String, Object> params);

    /**
     * 计算渠道商的月收益
     * @param params
     */
    List<OrgMonthProfit> calculateChannelMonthProfit(Map<String, Object> params);

}
